﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using GCC.Container.Models;

using tcm.entity;

namespace tcm.request
{
    public class SysParamRequest : PageRequestBase
    {
        public string? dict_name { get; set; }

        public int? status { get; set; }

        public string? dict_type { get; set; }
        
    }

    public class SysParamDataRequest : PageRequestBase
    {
        public string? dict_type { get; set; }

        public string? dict_label { get; set; }

        public int? status { get; set; }

    }



    public class ParamTypeDto: BaseExtensionDto
    {
        /// <summary>
        /// 字典名称 
        /// </summary>
        public string dict_name { get; set; }

        /// <summary>
        /// 字典类型
        /// </summary>
        public string dict_type { get; set; }

        /// <summary>
        /// 状态（0正常，1停用）
        /// </summary>
        public int status { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? remark { get; set; }

    }

    public class ParamDataDto : BaseExtensionDto
    {
      
        /// <summary>
        /// 字典标签
        /// </summary>
        public string dict_label { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int dict_sort { get; set; }


        /// <summary>
        /// 字典键值
        /// </summary>
        public string dict_value { get; set; }

        /// <summary>
        /// 字典类型
        /// </summary>
        public string dict_type { get; set; }


        /// <summary>
        /// 样式属性（其他样式扩展）
        /// </summary>
        public string? css_class { get; set; }

        /// <summary>
        /// 表格回显样式
        /// </summary>
        public string? list_class { get; set; }


        /// <summary>
        /// 是否默认
        /// </summary>
        public int is_default { get; set; }

        /// <summary>
        /// 状态（0正常，1停用）
        /// </summary>
        public int status { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? remark { get; set; }

    }
}
